package com.dao;

import com.pojo.Books;

import java.util.List;

/**
 * @author FengTianhao
 * @date 2021/3/8 21:00
 */
public interface BookMapper {
    int addBook(Books books);

    int deleteBookById(int id);

    int updateBook(Books books);

    Books queryBookById(int id);

    List<Books> queryAllBook();

    Books queryBookByName(String bookName);
}
